package com.oddfar.campus.business.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author Yang
 * @Date 2024/5/29 19:06
 * @Description NoticeAddDto
 * @Version 1.0
 */

@Data
public class NoticeAddDTO {

    private Long userId;

    @NotBlank(message = "标题不能为空")
    private String title;

    @NotBlank(message = "内容不能为空")
    private String content;


}
